package com.lyncs.ods.modules.goods.service;

import com.lyncs.ods.modules.goods.model.SkuDetail;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * sku详细信息表 服务类
 * </p>
 *
 * @author alex
 * @since 2022-02-15
 */
public interface SkuDetailService extends IService<SkuDetail> {
    /**
     * 根据属性查skuId（分页）
     *
     * @param attrs    属性
     * @param offset   offset
     * @param pageSize pageSize
     * @return skuIds
     */
    List<Long> getSkuIdListByAttrs(Long spuId, Map<Long, String> attrs, Integer offset, Integer pageSize);

}
